package edu.guet.server.model.SemesterStatistic;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ChartCount {
    String startTime;
    Integer semesterId;//课堂id
    private List<String> labels=new ArrayList<>();
    private List<Object> data=new ArrayList<>();

    // 添加方法
    public void addData(String label, Integer count) {
        labels.add(label);
        data.add(count);
    }
}
